(Deprecated Error): Function create_function() is deprecated
BASE/helpers/array.php Code : 8192 ( Line : 121 )
116 */
117 if( ! function_exists('is_assoc_array'))
118 {
119 function is_assoc_array( $a )
120 {
121 return is_array( $a ) && ( count( $a ) !== array_reduce( array_keys( $a ), create_function( '$a, $b', 'return ($b === $a ? $a + 1 : 0);' ), 0 ) );
122 }
123 }
124
125 // --------------------------------------------------------------------
126
is_assoc_array(
arg)
| 0 | array(8) (
"ob/form" => string(0) ""
"ob/form_send" => string(0) ""
"ob/session" => string(0) ""
"ob/view" => string(0) ""
"ob/html" => string(0) ""
"ob/url" => string(0) ""
"ob/request" => string(0) ""
"ob/cookie" => string(0) ""
) |
BASE/helpers/core/module.php ( Line : 82 )
77
78 foreach(array_keys($autoload) as $key)
79 {
80 if(count($autoload[$key]) > 0)
81 {
82 if( ! is_assoc_array($autoload[$key]))
83 {
84 throw new Exception("Please redefine your $key autoload variables, they must be associative array !
85 An example configuration <b>\$autoload['helper'] = array('ob/session' => '', 'ob/form' => '')</b>");
86 }
87
module_init_autoloaders()
BASE/helpers/core/module.php ( Line : 56 )
51 if(file_exists(MODULES .$GLOBALS['sub_path'].lib('ob/Router')->fetch_directory(). DS .'config'. DS .'config'. EXT))
52 {
53 lib('ob/Config')->load('config');
54 }
55
56 module_init_autoloaders(); // Init Obullo Autoloader files
57 module_init_autoruns(); // Init Obullo Autorun files
58 }
59
60 // ------------------------------------------------------------------------
61
module_init()
BASE/core/Controller.php ( Line : 57 )
52 $this->output = lib('ob/Output');
53
54 // Initialize to Module Libraries
55 // ------------------------------------
56
57 module_init();
58
59 // ------------------------------------
60 }
61
62 // --------------------------------------------------------------------
Controller->__construct()
MODULES/welcome/controllers/welcome.php ( Line : 7 )
2
3 Class Welcome extends Controller {
4
5 function __construct()
6 {
7 parent::__construct();
8 }
9
10 public function index()
11 {
12 redirect("/login");
Welcome->__construct()
BASE/core/Bootstrap.php ( Line : 137 )
132 show_404($page_uri);
133 }
134
135 $Class = $router->fetch_class();
136
137 $OB = new $Class(); // If Everyting ok Declare Called Controller !
138
139 if ( ! in_array(strtolower($router->fetch_method()), array_map('strtolower', get_class_methods($OB)))) // Check method exist or not
140 {
141 show_404($page_uri);
142 }
ob_system_run()
ROOT/index.php ( Line : 182 )
177 require(BASE .'core'. DS .'Bootstrap'. EXT);
178 date_default_timezone_set('Europe/Skopje');
179
180 ob_include_files();
181 ob_set_headers();
182 ob_system_run();
(Warning): session_set_cookie_params(): Cannot change session cookie parameters when headers already sent
BASE/helpers/drivers/session/session_native.php Code : 2 ( Line : 42 )
37 ini_set('session.gc_maxlifetime', '0');
38 ini_set('session.cookie_lifetime', '0'); // 0
39 }
40 else
41 {
42 session_set_cookie_params($sess->sess_expiration, $sess->cookie_path, $sess->cookie_domain);
43
44 // Configure garbage collection
45 ini_set('session.gc_divisor', 100);
46 ini_set('session.gc_maxlifetime', ($sess->sess_expiration == 0) ? 7200 : $sess->sess_expiration);
47 }
(Warning): ini_set(): Headers already sent. You cannot change the session module's ini settings at this time
BASE/helpers/drivers/session/session_native.php Code : 2 ( Line : 45 )
40 else
41 {
42 session_set_cookie_params($sess->sess_expiration, $sess->cookie_path, $sess->cookie_domain);
43
44 // Configure garbage collection
45 ini_set('session.gc_divisor', 100);
46 ini_set('session.gc_maxlifetime', ($sess->sess_expiration == 0) ? 7200 : $sess->sess_expiration);
47 }
48
49 $sess->now = _get_time();
50
(Warning): ini_set(): Headers already sent. You cannot change the session module's ini settings at this time
BASE/helpers/drivers/session/session_native.php Code : 2 ( Line : 46 )
41 {
42 session_set_cookie_params($sess->sess_expiration, $sess->cookie_path, $sess->cookie_domain);
43
44 // Configure garbage collection
45 ini_set('session.gc_divisor', 100);
46 ini_set('session.gc_maxlifetime', ($sess->sess_expiration == 0) ? 7200 : $sess->sess_expiration);
47 }
48
49 $sess->now = _get_time();
50
51 session_name($sess->cookie_prefix . $sess->sess_cookie_name);
(Warning): session_name(): Cannot change session name when headers already sent
BASE/helpers/drivers/session/session_native.php Code : 2 ( Line : 51 )
46 ini_set('session.gc_maxlifetime', ($sess->sess_expiration == 0) ? 7200 : $sess->sess_expiration);
47 }
48
49 $sess->now = _get_time();
50
51 session_name($sess->cookie_prefix . $sess->sess_cookie_name);
52
53 if( ! isset($_SESSION) ) // If another session_start() func is started before ?
54 {
55 session_start();
56 }
(Warning): session_start(): Cannot start session when headers already sent
BASE/helpers/drivers/session/session_native.php Code : 2 ( Line : 55 )
50
51 session_name($sess->cookie_prefix . $sess->sess_cookie_name);
52
53 if( ! isset($_SESSION) ) // If another session_start() func is started before ?
54 {
55 session_start();
56 }
57
58 if (is_numeric($sess->sess_expiration))
59 {
60 if ($sess->sess_expiration > 0)
(Warning): Cannot modify header information - headers already sent by (output started at BASE/libraries/Exception.php:119)
BASE/helpers/url.php Code : 2 ( Line : 665 )
660
661 switch($method)
662 {
663 case 'refresh' : header("Refresh:0;url=".$uri);
664 break;
665 default : header("Location: ".$uri, TRUE, $http_response_code);
666 break;
667 }
668 exit;
669 }
670 }