Description: Add index.php file on all sub-directories of local galleries pictures. Plugin URI: http://piwigo.org/ext/extension_view.php?eid=284 Author: Piwigo team Author URI: http://piwigo.org */ if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); } if (in_array(script_basename(), array('popuphelp', 'admin'))) { if (defined('IN_ADMIN') and IN_ADMIN) { include_once(dirname(__FILE__).'/'.'main.base.inc.php'); include_once(dirname(__FILE__).'/'.'main.admin.inc.php'); } else { include_once(dirname(__FILE__).'/'.'main.base.inc.php'); include_once(dirname(__FILE__).'/'.'main.normal.inc.php'); } set_plugin_data($plugin['id'], $add_index); } ?>