* let's not discriminate unix :) (= generalized paths)
* added checks so all scripts are only executable from CLI
| | |
| | | #!/usr/bin/env php |
| | | <?php |
| | | /* |
| | | #!/usr/bin/php |
| | | |
| | | +-----------------------------------------------------------------------+ |
| | | | bin/dumpschema.php | |
| | |
| | | |
| | | */ |
| | | |
| | | if (php_sapi_name() != 'cli') { |
| | | die('Not on the "shell" (php-cli).'); |
| | | } |
| | | |
| | | define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); |
| | | require INSTALL_PATH.'program/include/iniset.php'; |
| | | |
| | |
| | | #!/usr/bin/php |
| | | #!/usr/bin/env php |
| | | <?php |
| | | if (php_sapi_name() != 'cli') { |
| | | die('Not on the "shell" (php-cli).'); |
| | | } |
| | | |
| | | define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); |
| | | ini_set('memory_limit', -1); |
| | |
| | | vputs("IMAP login failed.\n"); |
| | | } |
| | | |
| | | ?> |
| | | ?> |
| | |
| | | #!/usr/bin/php |
| | | #!/usr/bin/env php |
| | | <?php |
| | | if (php_sapi_name() != 'cli') { |
| | | die('Not on the "shell" (php-cli).'); |
| | | } |
| | | |
| | | define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); |
| | | ini_set('memory_limit', -1); |
| | |
| | | print "IMAP login failed.\n"; |
| | | } |
| | | |
| | | ?> |
| | | ?> |
| | |
| | | #!/usr/bin/php |
| | | #!/usr/bin/env php |
| | | <?php |
| | | |
| | | if (php_sapi_name() != 'cli') { |
| | | die('Not on the "shell" (php-cli).'); |
| | | } |
| | | define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); |
| | | |
| | | require_once INSTALL_PATH . 'program/include/iniset.php'; |
| | |
| | | |
| | | echo "\n"; |
| | | |
| | | ?> |
| | | ?> |