1
0
Fork 0

Working directory fix

This commit is contained in:
magnolia-fan 2011-04-04 21:40:52 +04:00
parent 77bb597609
commit cfb4dcda07
2 changed files with 2 additions and 4 deletions

View File

@ -1,9 +1,7 @@
#!/opt/local/bin/php
<?php
define('APPDIR', '/www/server/php/');
require_once APPDIR .'common.php';
require_once '/www/server/php/common.php';
$tmp = array_slice(scandir(Config::get('app:Parser:bot_stats_dir')), 2);
$bots = array();

View File

@ -1,6 +1,6 @@
<?php
define('ROOT_DIR', getcwd());
define('ROOT_DIR', dirname(__FILE__));
require_once ROOT_DIR .'/autoload.php';