Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv4830/phpslash-ft/class
Modified Files:
Variable.class
Log Message:
removed deprecated variables
Index: Variable.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Variable.class,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Variable.class 2001/12/12 11:38:49 1.2
--- Variable.class 2002/02/06 19:55:46 1.3
***************
*** 19,26 ****
*/
function Variable () {
! global $basedir,$rootdir, $templatedir;
! $this->var_array[rootdir] = $rootdir;
! $this->var_array[basedir] = $basedir;
$this->db = new slashDB;
--- 19,26 ----
*/
function Variable () {
! global $_PSL, $templatedir;
! $this->var_array['rootdir'] = $_PSL['rooturl'];
! $this->var_array['basedir'] = $_PSL['basedir'];
$this->db = new slashDB;
***************
*** 89,93 ****
/* Get preferences */
! $basedir = getvar("basedir");
$q = "SELECT *
--- 89,93 ----
/* Get preferences */
! $basedir = $this->getvar("basedir");
$q = "SELECT *
***************
*** 231,233 ****
} /* end of Variable.class */
! ?>
\ No newline at end of file
--- 231,233 ----
} /* end of Variable.class */
! ?>
|