From: web Date: Sat, 7 Oct 2006 08:40:21 +0000 (+0000) Subject: missing assign !? wtf X-Git-Tag: xorg/0.9.11~24 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f6a3b5a34a14d90f3ca7a4d8b7c27462c856fabc;p=platal.git missing assign !? wtf git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@950 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/classes/Page.php b/classes/Page.php index 63add7e..60110f0 100644 --- a/classes/Page.php +++ b/classes/Page.php @@ -73,13 +73,14 @@ class PlatalPage extends Smarty function _run($skin) { - global $globals, $TIME_BEGIN; + global $globals, $platal, $TIME_BEGIN; session_write_close(); $this->assign("xorg_errors", $this->_errors); $this->assign("xorg_failure", $this->_failure); $this->assign('globals', $globals); + $this->assign('platal', $platal); switch ($this->_page_type) { case NO_SKIN: diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 3753de7..64297ef 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -1,7 +1,7 @@ Options +FollowSymLinks RewriteEngine on -RewriteBase /~x2000habouzit +RewriteBase / # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f