[geeklog-cvs] geeklog: Move the Scripts class declaration. It needs to be afte...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 12 11:04:57 EST 2011


changeset 8153:ec2708fcbc84
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/ec2708fcbc84
user: Tom <websitemaster at cogeco.net>
date: Sat Mar 12 11:03:33 2011 -0500
description:
Move the Scripts class declaration. It needs to be after when the user theme is set.

diffstat:

 public_html/lib-common.php |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r ebcacb982fe8 -r ec2708fcbc84 public_html/lib-common.php
--- a/public_html/lib-common.php	Sat Mar 12 11:02:14 2011 -0500
+++ b/public_html/lib-common.php	Sat Mar 12 11:03:33 2011 -0500
@@ -245,14 +245,6 @@
     $_USER['advanced_editor'] = $_CONF['advanced_editor'];
 }
 
-/**
-* Include the Scripts class
-*
-* This provides the ability to set css and javascript.
-*/
-
-require_once( $_CONF['path_system'] . 'classes/scripts.class.php' );
-$_SCRIPTS = new scripts();
 
 /**
 * Ulf Harnhammar's kses class
@@ -306,6 +298,16 @@
     }
 }
 
+
+/**
+* Include the Scripts class
+*
+* This provides the ability to set css and javascript.
+*/
+
+require_once( $_CONF['path_system'] . 'classes/scripts.class.php' );
+$_SCRIPTS = new scripts();
+
 /**
 * Include theme functions file which may/may not do anything
 */



More information about the geeklog-cvs mailing list