Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- if ( !file_exists( "oz-library/config.php" ) )
- {
- session_start();
- $now = gmdate('D, d M Y H:i:s') . ' GMT';
- header("Expires: $now");
- header("Last-Modified: $now");
- header("Cache-Control: no-cache, must-revalidate");
- header("Pragma: no-cache");
- if (file_exists("oz-install/index.php"))
- {
- $_SESSION['act']='install';
- ?><script>
- alert('please wait');
- location.href ='oz-install';
- </script>
- <?php
- }
- exit;
- }
- else {
- require_once( 'oz-library/config.php' );
- echo "<script language=\"Javascript\">location.href = 'oz-content/basic/';</script>\n";
- }
- ?>
- <!--oz-install/index.php-->
- <?php
- session_start();
- if(isset($_SESSION['act']=='install'))
- {
- //,.,,,,,,,,
- }else{
- ?><script>
- alert('please wait');
- location.href ='../index.php';
- </script>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement