[RackTables/f17] Rebase to v0.20.3
Colin Coe
coec at fedoraproject.org
Tue Jan 1 06:39:57 UTC 2013
commit 2a5509de655860ce8c33e349922d28aee45c2663
Author: Colin Coe <colin.coe at gmail.com>
Date: Tue Jan 1 14:39:53 2013 +0800
Rebase to v0.20.3
RackTables-Fedora-paths.patch | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/RackTables-Fedora-paths.patch b/RackTables-Fedora-paths.patch
new file mode 100644
index 0000000..70c8073
--- /dev/null
+++ b/RackTables-Fedora-paths.patch
@@ -0,0 +1,17 @@
+diff -ru RackTables-0.20.3.orig/wwwroot/inc/pre-init.php RackTables-0.20.3/wwwroot/inc/pre-init.php
+--- RackTables-0.20.3.orig/wwwroot/inc/pre-init.php 2012-12-20 00:30:47.000000000 +0800
++++ RackTables-0.20.3/wwwroot/inc/pre-init.php 2012-12-27 20:03:43.609459873 +0800
+@@ -25,11 +25,11 @@
+ # code, multiple instances" deploy, in which case the paths could be changed
+ # in the custom entry point wrapper (like own index.php)
+ if (! isset ($racktables_staticdir)) // the directory containing 'pix', 'js', 'css' dirs
+- $racktables_staticdir = $racktables_rootdir;
++ $racktables_staticdir = '/usr/share/RackTables/static';
+ if (! isset ($racktables_gwdir)) // the directory containing the 'telnet' and 'ssh' scripts
+ $racktables_gwdir = realpath ($racktables_rootdir . '/../gateways');
+ if (! isset ($racktables_confdir)) // the directory containing secret.php (default is wwwroot/inc)
+- $racktables_confdir = dirname (__FILE__);
++ $racktables_confdir = '/etc/RackTables';
+ if (! isset ($path_to_secret_php)) // you can overrride the path to secret.php separately from $racktables_confdir (legacy feature)
+ $path_to_secret_php = $racktables_confdir . '/secret.php';
+ if (! isset ($racktables_plugins_dir)) // the directory where RT will load additional *.php files (like local.php) from
More information about the scm-commits
mailing list