Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
8e9a5fdf
Commit
8e9a5fdf
authored
Sep 04, 2011
by
nveid
Browse files
More Changes/fixes to allow linkfarm setups off a repo.
parent
0ea2a52f
Changes
4
Hide whitespace changes
Inline
Side-by-side
server/cron_daily.php
View file @
8e9a5fdf
...
...
@@ -28,8 +28,9 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
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
View file @
8e9a5fdf
...
...
@@ -95,7 +95,7 @@ class remoteaction_core_module {
* 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 @@ class remoteaction_core_module {
//$this->_actionDone($action['action_id'], 'ok');
}
}
?>
\ No newline at end of file
?>
server/server.php
View file @
8e9a5fdf
...
...
@@ -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
100644 → 100755
View file @
8e9a5fdf
File mode changed from 100644 to 100755
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment