Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 937ae7c7f6f0081558c0dd19e8a934d4 > files > 2

RackTables-0.19.4-2.fc14.src.rpm

diff -Nur RackTables-0.19.4.orig/scripts/syncdomain.php RackTables-0.19.4/scripts/syncdomain.php
--- RackTables-0.19.4.orig/scripts/syncdomain.php	2011-04-09 18:53:54.000000000 +0400
+++ RackTables-0.19.4/scripts/syncdomain.php	2011-04-09 18:59:36.252324439 +0400
@@ -1,4 +1,4 @@
-#!/usr/local/bin/php
+#!/usr/bin/php
 <?php
 
 $script_mode = TRUE;
diff -Nur RackTables-0.19.4.orig/wwwroot/inc/pre-init.php RackTables-0.19.4/wwwroot/inc/pre-init.php
--- RackTables-0.19.4.orig/wwwroot/inc/pre-init.php	2011-04-09 18:53:56.000000000 +0400
+++ RackTables-0.19.4/wwwroot/inc/pre-init.php	2011-04-09 19:16:30.633626396 +0400
@@ -19,11 +19,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 'deviceconfig', 'sendfile' dirs, etc
 	$racktables_gwdir = realpath ($racktables_rootdir . '/../gateways');
 if (! isset ($racktables_confdir)) // the directory containing local.php and secret.php (default is wwwroot/inc)
-	$racktables_confdir = dirname (__FILE__);
+	$racktables_confdir = '/etc/RackTables';
 if (! isset ($path_to_secret_php))
 	$path_to_secret_php = $racktables_confdir . '/secret.php';
 if (! isset ($path_to_local_php))