Advertisement
mrlongshen

[CORA] setting.php

Jul 13th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.57 KB | None | 0 0
  1. <?php
  2.  
  3. $settings = array(
  4.    
  5.     /* -------------------------------------------------------------------
  6.      * Directory Configuration
  7.      * -------------------------------------------------------------------
  8.      * These configurations are used to identify the location of the both
  9.      * application and system folders, relative to the index.php file.
  10.      * The default configurations are as follows:
  11.      *
  12.      * 'app_path' => '../application',
  13.      * 'sys_path' => '../system',
  14.      *
  15.      * If you moved both folders in the same level as your index.php file
  16.      * change your configurations as shown below:
  17.      *
  18.      * 'app_path' => 'application',
  19.      * 'sys_path' => 'system',
  20.      * -------------------------------------------------------------------
  21.      */
  22.    
  23.     'app_path'              => 'application',
  24.     'sys_path'              => 'system',
  25.    
  26.     /* -------------------------------------------------------------------
  27.      * Basic Configuration
  28.      * -------------------------------------------------------------------
  29.      * These configurations contains information regarding your website.
  30.      *
  31.      * base_url     : This is the full url of your website pointing to the
  32.      *                index.php file, excluding the index.php itself. The
  33.      *                value should always end with a trailing slash. e.g:
  34.      *                
  35.      *                'base_url' => 'http://ragnarokname.com/',
  36.      *                or
  37.      *                'base_url' => 'http://ragnarokname.com/cora/',
  38.      *
  39.      * encrypt_key  : This is a random 30-character alphanumeric string.
  40.      *                This is used to encrypt your sessions for security.
  41.      *                Example of this would be:
  42.      *                eMZxG9Mpjin05MBYje91NJL0cQaGrb
  43.      *
  44.      *                You may use this tool for your convenience:
  45.      *                http://www.random.org/strings/
  46.      *
  47.      * dev_mode     : Turn off error reports by setting this to false.
  48.      *
  49.      * timezone     : Timezone that your server uses. Please refer to this
  50.      *                guide for valid timezone values:
  51.      *                http://php.net/manual/en/timezones.php
  52.      * -------------------------------------------------------------------
  53.      */
  54.    
  55.     'base_url'              => 'http://localhost/cp/',
  56.     'encrypt_key'           => 'eMZxG9Mpjin05MBYje91NJL0cQaGrb',
  57.     'dev_mode'              => true,
  58.     'timezone'              => 'Asia/Kuala_Lumpur',
  59.    
  60.     /* -------------------------------------------------------------------
  61.      * Database Configuration
  62.      * -------------------------------------------------------------------
  63.      * These configurations contains information regarding your MySQL DB.
  64.      *
  65.      * db_host : This is the IP of your MySQL database. e.g: 127.0.0.1
  66.      *          
  67.      * db_user : Your database username. e.g: root
  68.      *          
  69.      * db_pass : Your database password.
  70.      *          
  71.      * db_name : Your `ragnarok` database or schema. e.g: ragnarok
  72.      *
  73.      * db_log_name : Your `log` database or schema. e.g: log
  74.      * -------------------------------------------------------------------
  75.      */
  76.    
  77.     'db_host'               => 'localhost',
  78.     'db_user'               => 'ragnarok',
  79.     'db_pass'               => 'ragnarok',
  80.     'db_name'               => 'ragnarok',
  81.     'db_log_name'           => 'ragnarok',
  82.    
  83.     /* -------------------------------------------------------------------
  84.      * ROChargen
  85.      * -------------------------------------------------------------------
  86.      * Contains settings used by the ROChargen feature.
  87.      *                        
  88.      * use_iteminfo_lua     : Set to true if you are using iteminfo.lua
  89.      *                        instead of idnum2.txt files. Usually, this
  90.      *                        is for for servers using the newer clients.
  91.      *                        For clients 2012-07-10a and lower, as well
  92.      *                        as RE 2012-04-10a and lower, set to false.
  93.      * -------------------------------------------------------------------
  94.      */
  95.    
  96.     'use_iteminfo_lua'      => true,
  97.    
  98.     /* ----------------------------------------------------------------- *
  99.      * Extra Configurations                                              *
  100.      * ----------------------------------------------------------------- */
  101.    
  102.     'memory_limit'          => '32M'    // Change the PHP memory limit allocation. WARNING: Increasing this value may cause exhaustion in your server. Use at your own risk!
  103.    
  104. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement