diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/config/config.php | 21 | ||||
-rw-r--r-- | core/controllers/welcome.php | 11 | ||||
-rw-r--r-- | core/views/welcome.html.php | 1 |
3 files changed, 23 insertions, 10 deletions
diff --git a/core/config/config.php b/core/config/config.php index 94f22364..efd7b2e8 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -1,4 +1,23 @@ -<?php defined('SYSPATH') or die('No direct script access.'); +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2008 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ + /** * Base path of the web site. If this includes a domain, eg: localhost/kohana/ * then a full URL will be used, eg: http://localhost/kohana/. If it only includes diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index a0b8d2c8..3329a402 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -1,5 +1,5 @@ -<?php -/* +<?php defined("SYSPATH") or die("No direct script access."); +/** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2008 Bharat Mediratta * @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ - -/** - * Enter Description Here - * @package - * @subpackage - * @author Tim - */ class Welcome_Controller extends Controller { function Index() { print new View('welcome.html'); diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 9757f6d5..da75ebcc 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -1,3 +1,4 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> <html> <head> <title>Gallery3 Scaffold</title> |