Refactor project structure
This commit is contained in:
11
core/crons/include.cron.php
Normal file
11
core/crons/include.cron.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
if(php_sapi_name() != 'cli'){
|
||||
exit();
|
||||
}
|
||||
|
||||
define('CLIENT_PATH',dirname(__FILE__)."/..");
|
||||
|
||||
include (APP_BASE_PATH."config.base.php");
|
||||
|
||||
include (APP_BASE_PATH."include.common.php");
|
||||
include(APP_BASE_PATH."server.includes.inc.php");
|
||||
Reference in New Issue
Block a user