OSDN Git Service

Change path for install script in config.php and so on.
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / config.php
index 1acc83a..dcef242 100755 (executable)
@@ -1,50 +1,54 @@
 <?php
 <?php
-\r
-/*\r
- * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
- * Copyright (C) 2002-2009 The Nucleus Group\r
- *\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * (see nucleus/documentation/index.html#license for more info)\r
- */\r
-\r
-/**\r
- * Nucleus configration file\r
- * @license http://nucleuscms.org/license.txt GNU General Public License\r
- * @copyright Copyright (C) 2002-2009 The Nucleus Group\r
- * @version $Id$\r
- */\r
+
+/*
+ * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
+ * Copyright (C) 2002-2009 The Nucleus Group
+ *
+ * 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.
+ * (see nucleus/documentation/index.html#license for more info)
+ */
+
+/**
+ * Nucleus configration file
+ * @license http://nucleuscms.org/license.txt GNU General Public License
+ * @copyright Copyright (C) 2002-2009 The Nucleus Group
+ * @version $Id$
+ */
 
 // This file contains variables with the locations of the data dirs
 // and basic functions that every page can use
 
 // mySQL connection information
 
 // This file contains variables with the locations of the data dirs
 // and basic functions that every page can use
 
 // mySQL connection information
-$MYSQL_HOST = 'hostname';
-$MYSQL_USER = 'username';
+$MYSQL_HOST     = 'hostname';
+$MYSQL_USER     = 'username';
 $MYSQL_PASSWORD = 'password';
 $MYSQL_DATABASE = 'databasename';
 $MYSQL_PASSWORD = 'password';
 $MYSQL_DATABASE = 'databasename';
-$MYSQL_PREFIX = '';
+$MYSQL_PREFIX   = '';
+// new in 3.50. first element is db handler, the second is the db driver used by the handler
+// default is $MYSQL_HANDLER = array('mysql','mysql');
+$MYSQL_HANDLER = array('mysql','mysql');
+//$MYSQL_HANDLER = array('pdo','mysql');
 
 // main nucleus directory
 $DIR_NUCLEUS = '/your/path/to/nucleus/';
 
 // media dir
 
 // main nucleus directory
 $DIR_NUCLEUS = '/your/path/to/nucleus/';
 
 // media dir
-$DIR_MEDIA = '/your/path/to/media/';
+$DIR_MEDIA   = '/your/path/to/media/';
 
 // extra skin files for imported skins
 
 // extra skin files for imported skins
-$DIR_SKINS = '/your/path/to/skins/';
+$DIR_SKINS   = '/your/path/to/skins/';
 
 // these dirs are normally subdirs of the nucleus dir, but
 // you can redefine them if you wish
 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
 
 // these dirs are normally subdirs of the nucleus dir, but
 // you can redefine them if you wish
 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
-$DIR_LANG = $DIR_NUCLEUS . 'language/';
-$DIR_LIBS = $DIR_NUCLEUS . 'libs/';
+$DIR_LANG    = $DIR_NUCLEUS . 'language/';
+$DIR_LIBS    = $DIR_NUCLEUS . 'libs/';
 
 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
 
 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
-       echo "Configuration error, please run the install script or modify config.php";
+       echo 'Configuration error, please run the <a href="./install/index.php">install script</a> or modify config.php';
        exit;
 }
 
        exit;
 }