[Git][codeigniterpower/codeigniterpower][master] Fixes bcit-ci#6175

0 views
Skip to first unread message

Герхард PICCORO Lenz McKAY (@mckaygerhard)

unread,
Feb 5, 2024, 8:03:03 AMFeb 5
to venenux...@googlegroups.com

Герхард PICCORO Lenz McKAY pushed to branch master at codeigniterpower / codeigniterpower

Commits:

1 changed file:

Changes:

  • appsys/core/Router.php
    ... ... @@ -84,7 +84,7 @@ class CI_Router {
    84 84
     	 *
    
    85 85
     	 * @var	string
    
    86 86
     	 */
    
    87
    -	public $directory;
    
    87
    +	public $directory == NULL;
    
    88 88
     
    
    89 89
     	/**
    
    90 90
     	 * Default controller (and method if specific)
    
    ... ... @@ -333,7 +333,7 @@ class CI_Router {
    333 333
     	protected function _validate_request($segments)
    
    334 334
     	{
    
    335 335
     		$c = count($segments);
    
    336
    -		$directory_override = isset($this->directory);
    
    336
    +		$directory_override = ($this->directory !== NULL);
    
    337 337
     
    
    338 338
     		// Loop through our segments and return as soon as a controller
    
    339 339
     		// is found or when such a directory doesn't exist
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help

Reply all
Reply to author
Forward
0 new messages