| | |
| | | +-----------------------------------------------------------------------+ |
| | | */ |
| | | |
| | | define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); |
| | | define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); |
| | | |
| | | require_once INSTALL_PATH . 'program/include/clisetup.php'; |
| | | |
| | |
| | | )); |
| | | |
| | | if (empty($opts['dir'])) { |
| | | print "Skin directory not specified (--dir). Using skins/ and plugins/skins/.\n"; |
| | | print "Skin directory not specified (--dir). Using skins/ and plugins/*/skins/.\n"; |
| | | |
| | | $dir = INSTALL_PATH . 'skins'; |
| | | $dir_p = INSTALL_PATH . 'plugins'; |