|
From: <al...@us...> - 2008-11-21 20:24:00
|
Revision: 781
http://sciret.svn.sourceforge.net/sciret/?rev=781&view=rev
Author: alpeb
Date: 2008-11-21 20:23:50 +0000 (Fri, 21 Nov 2008)
Log Message:
-----------
renamed config.ini.php to config.php like before, for an easier upgrade
Modified Paths:
--------------
trunk/index.php
Added Paths:
-----------
trunk/config.php
Removed Paths:
-------------
trunk/config.ini.php
Deleted: trunk/config.ini.php
===================================================================
--- trunk/config.ini.php 2008-11-21 19:43:57 UTC (rev 780)
+++ trunk/config.ini.php 2008-11-21 20:23:50 UTC (rev 781)
@@ -1,29 +0,0 @@
-<?php
-
- return array (
- 'environment' =>
- array (
- 'session_name' => 'SCIRET',
- 'production' => true,
- 'YDN' => true,
- 'loglevel' => 0,
- ),
- 'general' =>
- array (
- 'slowdown_secs' => 0,
- 'language_default' => 'English',
- ),
- 'database' =>
- array (
- 'adapter' => 'mysqli',
- 'params' =>
- array (
- 'host' => 'localhost',
- 'dbname' => 'sciret',
- 'username' => 'root',
- 'password' => '',
- ),
- ),
-);
-
-?>
Copied: trunk/config.php (from rev 780, trunk/config.ini.php)
===================================================================
--- trunk/config.php (rev 0)
+++ trunk/config.php 2008-11-21 20:23:50 UTC (rev 781)
@@ -0,0 +1,29 @@
+<?php
+
+ return array (
+ 'environment' =>
+ array (
+ 'session_name' => 'SCIRET',
+ 'production' => true,
+ 'YDN' => true,
+ 'loglevel' => 0,
+ ),
+ 'general' =>
+ array (
+ 'slowdown_secs' => 0,
+ 'language_default' => 'English',
+ ),
+ 'database' =>
+ array (
+ 'adapter' => 'mysqli',
+ 'params' =>
+ array (
+ 'host' => 'localhost',
+ 'dbname' => 'sciret',
+ 'username' => 'root',
+ 'password' => '',
+ ),
+ ),
+);
+
+?>
Modified: trunk/index.php
===================================================================
--- trunk/index.php 2008-11-21 19:43:57 UTC (rev 780)
+++ trunk/index.php 2008-11-21 20:23:50 UTC (rev 781)
@@ -32,9 +32,9 @@
$times = explode(' ', microtime());
$GLOBALS['startTime'] = $times[0] + $times[1];
-// use a config.ini.php with an array instead of a cleaner .ini file, because for an easy installation all files
+// use a config.php with an array instead of a cleaner .ini file, because for an easy installation all files
// go under the web root, and a .ini file would be browsable
-$config = new Zend_Config(require dirname(__FILE__). '/config.ini.php', array('allowModifications' => true));
+$config = new Zend_Config(require dirname(__FILE__). '/config.php', array('allowModifications' => true));
Zend_Registry::set('config', $config);
/**************************
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|