Update of /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu
In directory sc8-pr-cvs1:/tmp/cvs-serv9888/boxes/editMenus/sample_menu
Modified Files:
sample_menu.php
Log Message:
Added the copying permission statement for the GNU GPL.
Index: sample_menu.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu/sample_menu.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sample_menu.php 22 Aug 2003 15:54:42 -0000 1.4
--- sample_menu.php 25 Aug 2003 13:18:33 -0000 1.5
***************
*** 1,3 ****
--- 1,4 ----
<?php
+ /* This file is part of phpWebApp. */
/**
* @package boxes
***************
*** 8,15 ****
function onParse()
{
! global $session;
!
! $this_path = WebApp::getVar("./");
! $session->Vars["menu_data_path"] = $this_path."menu_data/";
}
}
--- 9,14 ----
function onParse()
{
! $path = dirname(__FILE__);
! WebApp::setSVar("menu_data_path", $path."/menu_data/");
}
}
|