Changeset 462
- Timestamp:
- 01/13/08 16:33:04 (12 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
owa_caller.php (modified) (3 diffs)
-
owa_php.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/owa_caller.php
r461 r462 76 76 $this->start_time = owa_lib::microtime_float(); 77 77 78 $file = OWA_BASE_DIR.DIRECTORY_SEPARATOR.'conf'.DIRECTORY_SEPARATOR.'owa-config.php'; 79 80 if (file_exists($file)): 81 $config_file_exists = true; 82 include($file); 83 else: 84 $this->e->debug("I can't find your configuration file...assuming that you didn't create one."); 85 endif; 86 78 87 // Parent Constructor. Sets default config and error logger 79 88 $this->owa_base(); … … 105 114 /* APPLY CONFIGURATION FILE OVERRIDES */ 106 115 107 $file = OWA_BASE_DIR.DIRECTORY_SEPARATOR.'conf'.DIRECTORY_SEPARATOR.'owa-config.php'; 108 109 if (file_exists($file)): 110 111 include ($file); 116 117 if ($config_file_exists == true): 112 118 113 119 /* OBJECT CACHING */ … … 132 138 endif; 133 139 134 else: 135 $this->e->debug("I can't find your configuration file...assuming that you didn't create one."); 136 endif; 137 138 140 endif; 141 142 $this->e->debug('PURL: '.OWA_PUBLIC_URL); 139 143 /* APPLY DATABASE CONFIGURATION */ 140 144 -
trunk/owa_php.php
r425 r462 46 46 } 47 47 48 function __construct($config = null) {49 48 50 return parent::__construct($config); 49 /* 50 function __construct($config = null) { 51 //return; 52 return $this->owa_caller($config); 51 53 52 54 } 55 56 */ 53 57 54 58 }
