Danny.Domb
👽 Chevereto Freak
Here is an Unofficial contribution of chevereto that will allow me to create mods for you very more easily.
All of my contributions will need the following, so I suggest to add it
Open includes/chevereto.php
find : (near line 47 )
add after:
find : ( Near line 73 )
add after :
All of my contributions will need the following, so I suggest to add it
Open includes/chevereto.php
find : (near line 47 )
PHP:
define('__CHV_PATH_THEME__', __CHV_PATH_THEMES__.$config['theme'].'/');
add after:
PHP:
define('__CHV_PATH_MODS__',__CHV_PATH_CONTENT__.'mods/');
find : ( Near line 73 )
PHP:
/*** Include the core functions ***/
if(!@include_once(__CHV_FILE_FUNCTIONS__)) die('Can\'t find '.__CHV_FILE_FUNCTIONS__);
add after :
PHP:
/*** Make sur the Mods folder exist ***/
if (!file_exists(__CHV_PATH_MODS__))
{
@mkdir(__CHV_PATH_MODS__, 0755);
}
/*** Include the mods ***/
foreach (glob(__CHV_PATH_MODS__."*.php") as $file)
{
include($file);
}