nveid
2011-09-04 8e9a5fdf533cb82357555b1f8b5587290b9fa7f1
More Changes/fixes to allow linkfarm setups off a repo.
4 files modified
17 ■■■■ changed files
server/cron_daily.php 5 ●●●●● patch | view | raw | blame | history
server/mods-available/remoteaction_core_module.inc.php 4 ●●●● patch | view | raw | blame | history
server/server.php 8 ●●●●● patch | view | raw | blame | history
server/server.sh patch | view | raw | blame | history
server/cron_daily.php
@@ -28,8 +28,9 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require('lib/config.inc.php');
require('lib/app.inc.php');
define('SCRIPT_PATH', dirname($_SERVER["SCRIPT_FILENAME"]));
require(SCRIPT_PATH."/lib/config.inc.php");
require(SCRIPT_PATH."/lib/app.inc.php");
set_time_limit(0);
server/mods-available/remoteaction_core_module.inc.php
@@ -95,7 +95,7 @@
         * stop a service, a admin stopped some days before! To avoid this, we ignore
         * the status (it is only for the interface to show) and use our own maxid
        */
        include_once (dirname(__FILE__) .  "/../lib/remote_action.inc.php");
        include_once (SCRIPT_PATH."/lib/remote_action.inc.php");
        /*
         * Get all actions this server should execute
@@ -243,4 +243,4 @@
        //$this->_actionDone($action['action_id'], 'ok');
    }
}
?>
?>
server/server.php
@@ -27,11 +27,9 @@
  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
// $script_path allows development work of using a symbolic link farm
// to use along side git or svn
$script_path = dirname($_SERVER["SCRIPT_FILENAME"]);
require("$script_path/lib/config.inc.php");
require("$script_path/lib/app.inc.php");
define('SCRIPT_PATH', dirname($_SERVER["SCRIPT_FILENAME"]));
require(SCRIPT_PATH."/lib/config.inc.php");
require(SCRIPT_PATH."/lib/app.inc.php");
set_time_limit(0);
ini_set('error_reporting', E_ALL & ~E_NOTICE);
server/server.sh
old mode 100644 new mode 100755