/// <summary>
        /// Create a new instance
        /// </summary>
        /// <param name="config">ELFinder config</param>
        /// <param name="modulePath">Module path</param>
        protected ELFinderBaseConnectorModule(IELFinderConfig config, string modulePath) : base(modulePath)
        {
            // Initialize driver
            Driver = new FileSystemConnectorDriver(config);

            // Init routes
            InitRoutes();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new instance
 /// </summary>
 /// <param name="config">ELFinder config</param>
 protected ELFinderBaseConnectorController(IELFinderConfig config)
 {
     // Initialize driver using config
     Driver = new FileSystemConnectorDriver(config);
 }