diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 18:37:36 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 18:37:36 +0100 |
commit | 45903fe3960b65d63f70188640630c895dbbe222 (patch) | |
tree | ba0b0f9ba0615cd46214eeab236031c062664d6d /app/class/config.php | |
parent | d7f3313ff4514e38c9f53439cd1a1287e56e45f7 (diff) | |
download | wcms-45903fe3960b65d63f70188640630c895dbbe222.tar.gz wcms-45903fe3960b65d63f70188640630c895dbbe222.zip |
cleaning
Diffstat (limited to 'app/class/config.php')
-rw-r--r-- | app/class/config.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/class/config.php b/app/class/config.php index 7f18166..495c008 100644 --- a/app/class/config.php +++ b/app/class/config.php @@ -11,8 +11,8 @@ abstract class Config protected static $invite; protected static $read; protected static $color4; - protected static $fontsize = 6; - protected static $cmspath = ''; + protected static $fontsize = 15; + protected static $basepath = ''; // _______________________________________ F U N _______________________________________ @@ -61,9 +61,9 @@ abstract class Config return $json; } - public static function checkcmspath() + public static function checkbasepath() { - $path = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . self::cmspath() . 'w' . DIRECTORY_SEPARATOR . 'w.config.json'; + $path = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . self::basepath() . Model::CONFIG_FILE; return (file_exists($path)); } @@ -109,9 +109,9 @@ abstract class Config return self::$fontsize; } - public static function cmspath() + public static function basepath() { - return self::$cmspath; + return self::$basepath; } @@ -165,9 +165,9 @@ abstract class Config } } - public static function setcmspath($cmspath) + public static function setbasepath($basepath) { - self::$cmspath = strip_tags($cmspath); + self::$basepath = strip_tags($basepath); } |