syntax error, unexpected ”’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /home/p1140439/public_html/panel/inc/config/Config.class.php on line 56 [closed]

Question

private static $instance;

public static $g_con;

public static $_url = array();

private static $_pages = array(
    'profile','staff','mentenanta', 'login', 'logout', 'notifications', 'lp', 'search', 'shop', 'factions', 'complaints', 'apply', 'applications', 'application','complaint', 'createcomplaint', 'admintools', 'clans', 'houses', 'business', 'houses', 'tickets', 'unbans', 'createunban', 'vehicles', 'newupdate', 'toppaint', 'leaderpanel', 'members', 'toppaint', 'topplayers', 'recover', 'factionlogs', 'stergelinku', 'updates'

);

public static $_PAGE_URL = 'https://ryl.ro/panel/';

public static $_IP = 'RPG.RYL.RO';

public static $_SITE_NAME = 'RPG.RYL.RO';

public static $_VERSION = '0.0.3';

public static $factions = array();

public static $logs = array();

public static $vehColors = array();

public static $facColors = array();

public static $namevehicles = array();

public static $ccat = array();

public static $jobs = array();

public static $_VIPCARS = '1';

private function __construct() {

    $db['mysql'] = array(

        'host'      =>  '188.212.100.198', 
        'username'  =>  'client457_samp',
        'password'  =>  'rtAvL63nO59tYy',
        'dbname'    =>  'client457_samp''

    );



    try {

        self::$g_con = new PDO('mysql:host='.$db['mysql']['host'].';dbname='.$db['mysql']['dbname'].';charset=utf8',$db['mysql']['username'],$db['mysql']['password']);
0
Sathyr 3 years 2020-03-31T12:51:23-05:00 0 Answers 81 views 0

Leave an answer

Browse
Browse