note 91108 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 25 May 2009 22:11:36 +0000 |
| Subject: | note 91108 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155987@lists.php.net to get a copy of this message | ||
Note Submitter: fox dot spam at gmail dot com
----
Just to mention the code below, the right code is:
<?php
if(file_exists('themes/'.$theme.'/index.php'))
include('themes/'.$theme.'/index.php');
else
require('themes/default_theme/index.php');
?>