[dev] [commit] r905 - templates/admin tools wwwbase/elfinder-connector

automailer at dexonline.ro automailer at dexonline.ro
Sun Jul 14 19:37:53 EEST 2013


Author: grigoroiualex
Date: Sun Jul 14 19:37:53 2013
New Revision: 905

Log:
Added wotd elFinder log file in DEX/log. Made necessary modifications and renamed the connector as there will be two of them

Added:
   wwwbase/elfinder-connector/wotd_connector.php
      - copied, changed from r904, wwwbase/elfinder-connector/connector.php
Modified:
   templates/admin/wotdImages.ihtml
   tools/setup.sh

Modified: templates/admin/wotdImages.ihtml
==============================================================================
--- templates/admin/wotdImages.ihtml	Fri Jul 12 15:15:09 2013	(r904)
+++ templates/admin/wotdImages.ihtml	Sun Jul 14 19:37:53 2013	(r905)
@@ -9,7 +9,7 @@
   {literal}
   $().ready(function() {
     $('#fileManager').elfinder({
-      url: '../elfinder-connector/connector.php',
+      url: '../elfinder-connector/wotd_connector.php',
       lang: 'en'
     }).elfinder('instance');
   });

Modified: tools/setup.sh
==============================================================================
--- tools/setup.sh	Fri Jul 12 15:15:09 2013	(r904)
+++ tools/setup.sh	Sun Jul 14 19:37:53 2013	(r905)
@@ -16,6 +16,8 @@
 chmod 666 log/dictlog
 touch log/scriptlog
 chmod 666 log/scriptlog
+touch log/wotdrlflog
+chmod 666 log/wotdelflog
 chmod 777 templates_c
 
 # Make all directories under wwwbase/img/wotd/ world-writable

Copied and modified: wwwbase/elfinder-connector/wotd_connector.php (from r904, wwwbase/elfinder-connector/connector.php)
==============================================================================
--- wwwbase/elfinder-connector/connector.php	Fri Jul 12 15:15:09 2013	(r904, copy source)
+++ wwwbase/elfinder-connector/wotd_connector.php	Sun Jul 14 19:37:53 2013	(r905)
@@ -121,7 +121,7 @@
     }
 }
 
-$myLogger = new elFinderSimpleLogger('../img/wotd/_log.txt');
+$myLogger = new elFinderSimpleLogger('../../log/wotdelflog');
 
 // https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options
 $opts = array(


More information about the Dev mailing list