Working directory fix
This commit is contained in:
parent
77bb597609
commit
cfb4dcda07
|
@ -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();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define('ROOT_DIR', getcwd());
|
||||
define('ROOT_DIR', dirname(__FILE__));
|
||||
|
||||
require_once ROOT_DIR .'/autoload.php';
|
||||
|
||||
|
|
Loading…
Reference in New Issue