Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
8e9a5fdf
Commit
8e9a5fdf
authored
Sep 04, 2011
by
nveid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More Changes/fixes to allow linkfarm setups off a repo.
parent
0ea2a52f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
server/cron_daily.php
server/cron_daily.php
+3
-2
server/mods-available/remoteaction_core_module.inc.php
server/mods-available/remoteaction_core_module.inc.php
+2
-2
server/server.php
server/server.php
+3
-5
server/server.sh
server/server.sh
+0
-0
No files found.
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,
...
@@ -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.
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
*/
require
(
'lib/config.inc.php'
);
define
(
'SCRIPT_PATH'
,
dirname
(
$_SERVER
[
"SCRIPT_FILENAME"
]));
require
(
'lib/app.inc.php'
);
require
(
SCRIPT_PATH
.
"/lib/config.inc.php"
);
require
(
SCRIPT_PATH
.
"/lib/app.inc.php"
);
set_time_limit
(
0
);
set_time_limit
(
0
);
...
...
server/mods-available/remoteaction_core_module.inc.php
View file @
8e9a5fdf
...
@@ -95,7 +95,7 @@ class remoteaction_core_module {
...
@@ -95,7 +95,7 @@ class remoteaction_core_module {
* stop a service, a admin stopped some days before! To avoid this, we ignore
* 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
* 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
* Get all actions this server should execute
...
@@ -243,4 +243,4 @@ class remoteaction_core_module {
...
@@ -243,4 +243,4 @@ class remoteaction_core_module {
//$this->_actionDone($action['action_id'], 'ok');
//$this->_actionDone($action['action_id'], 'ok');
}
}
}
}
?>
?>
\ No newline at end of file
server/server.php
View file @
8e9a5fdf
...
@@ -27,11 +27,9 @@
...
@@ -27,11 +27,9 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
*/
// $script_path allows development work of using a symbolic link farm
define
(
'SCRIPT_PATH'
,
dirname
(
$_SERVER
[
"SCRIPT_FILENAME"
]));
// to use along side git or svn
require
(
SCRIPT_PATH
.
"/lib/config.inc.php"
);
$script_path
=
dirname
(
$_SERVER
[
"SCRIPT_FILENAME"
]);
require
(
SCRIPT_PATH
.
"/lib/app.inc.php"
);
require
(
"
$script_path
/lib/config.inc.php"
);
require
(
"
$script_path
/lib/app.inc.php"
);
set_time_limit
(
0
);
set_time_limit
(
0
);
ini_set
(
'error_reporting'
,
E_ALL
&
~
E_NOTICE
);
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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