Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F773632
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 2, 6:47 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Tue, Feb 4, 6:47 PM (3 h, 37 m)
Engine
blob
Format
Raw Data
Handle
556830
Attached To
rINP In-Portal
in-portal
View Options
Index: trunk/index.php
===================================================================
--- trunk/index.php (revision 1691)
+++ trunk/index.php (revision 1692)
@@ -1,32 +1,29 @@
<?php
$start = getmicrotime();
define('FULL_PATH', realpath(dirname(__FILE__)));
define('APPLICATION_CLASS', 'MyApplication');
define('ADMINS_LIST','/in-portal/users/users.php');
include_once(FULL_PATH.'/kernel/kernel4/startup.php');
-
-//if (!isset($_GET['admin'])) define('MOD_REWRITE', 1);
-
$application =& kApplication::Instance();
$application->Init();
$application->Run();
$application->Done();
$end = getmicrotime();
-if (defined('DEBUG_MODE')) {
+if (defined('DEBUG_MODE')&&DEBUG_MODE) {
echo '<br><br><div style="font-family: arial,verdana; font-size: 8pt;">Memory used: '.round(memory_get_usage()/1024/1024, 1).' Mb <br>';
echo 'Time used: '.round(($end - $start), 5).' Sec <br></div>';
}
//print_pre(get_included_files());
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
?>
\ No newline at end of file
Property changes on: trunk/index.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.13
\ No newline at end of property
+1.14
\ No newline at end of property
Event Timeline
Log In to Comment